<!--
  Tournament bracket system for use in scenarios 
  like sports, computer gaming or other games.
  
  @link http://www.toggymedy.com
  @license  GNU/GPL, ( http://www.gnu.org/licenses/gpl.txt )
  @authors Team Excellence

 The tournament bracket is free software. This version may have been modified pursuant
  to the GNU General Public License, and as distributed it includes or
  is derivative of works licensed under the GNU General Public License or
  other free or open source software licenses.
  Last update: 2009-11-27***
-->

<?php
session_start();
$sidelink = $_SYSTEM['PHP_SELF'];
$authside = "fredside";
$user = $_SESSION[$authside]['user'];
$pass = $_SESSION[$authside]['pass'];
$auth = sjekkauth($user, $pass);
include_once("logginn/funksjoner.php");
include_once('dbconnect.php');

echo "Oversikt over registrerte lag";
$data = mysql_query("SELECT * FROM lag ORDER BY lagid ASC")
or die(mysql_error());
Print "<table border cellpadding=3>";
while($info = mysql_fetch_array( $data ))
{
Print "<tr>";
Print "<th>LagID:</th> <td>".$info['lagid'] . "</td> ";
Print "<th>Lagnavn:</th> <td>".$info['lagnavn'] . "</td> ";
Print "<th>Epost: </th> <td>".$info['epost'] . " </td></tr>";

}
Print "</table>";

?>

